package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.AdvPosition;
import org.darkforest.model.AdvPositionBean;

import java.util.List;

@DBMapper
public interface AdvPositionMapper {
    int deleteByPrimaryKey(Integer apId);

    int insert(AdvPosition record);

    int insertSelective(AdvPosition record);

    AdvPosition selectByPrimaryKey(Integer apId);

    int updateByPrimaryKeySelective(AdvPosition record);

    int updateByPrimaryKey(AdvPosition record);

    List selectByCondition(AdvPositionBean ad);
}